<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<div class="t_bar">
	${param.title }${param.unit }
</div>
	<table  id="tblMileStones7" cellpadding="0" class="table01 t_css" width="100%" border="0" cellpadding="0" style="*border-bottom: #a1c0dc 1px solid;">
			<thead >
					<tr style="organization_finances/financeborder:1px solid #B7D1E6">
						<th class="TblHead" align="center"  width="5%">选择</th>
						<th class="TblHead" align="center"  width="5%">序号</th>
						<th class="TblHead" align="center"  width="10%">国家</th> 
						<th class="TblHead" align="center"  width="20%">获奖名称及颁发机构</th> 
						<th class="TblHead" align="center"  width="20%">获奖项目名称</th>
						<th class="TblHead" align="center"  width="15%">奖励等级</th>						
						<th class="TblHead" align="center"  width="15%">获奖时间</th>	
						<th class="TblHead" align="center"  width="10%">本人名次</th>	
					</tr>
			</thead>
			<tbody id="tab">
					<tr style="display:none">
						<td align="center">
							<input type="radio" class="radiobutton" name="selMileStones7" >
						</td>
						<td align="center">
							<span name="milestones|milestone7[0]@seq_no" >[index]</span> 
						</td>
						<td align="center">
							<input name="milestones|milestone7[0]|content1" label="国家" value="" class=" input_text  required"  maxlength="100" style="width:80%" />
						</td>
						<td align="center">
							<input name="milestones|milestone7[0]|content2" label="获奖名称及颁发机构" value="" class=" input_text  required"  maxlength="100" style="width:80%" />
						</td>
						
						<td align="center">
							<input name="milestones|milestone7[0]|content3" label="获奖项目名称" value="" class=" input_text  required"  maxlength="100" style="width:80%" />
						</td>
						<td align="center">
							<input name="milestones|milestone7[0]|content4" label="奖励等级" value="" class=" input_text  required"  maxlength="100" style="width:80%" />
						</td>
						<td align="center">
						<input  id="milestone7_awards_date_[0]" name="milestones|milestone7[0]|awards_date" label="获奖时间" value="" class="input_text date  required" style="width:70%"  />
						</td>
						<td align="center">
							<input name="milestones|milestone7[0]|content6" label="本人名次" value="" class=" input_text  required" onfocus="InitInput.setNumber(this,7,0,0)" style="width:80%;text-align:right;" />
						</td>
						
					</tr>
					
					
					<c:set value="0" var="index" scope="page"/>
					<x:forEach select="$xmlData/data/milestones/milestone7" var="milestone7">
					
					<c:choose>
						<c:when test="${index<10}" ><c:set value="0" var="flag" scope="page"/></c:when>
						<c:otherwise><c:set value="" var="flag" scope="page"/></c:otherwise>
					</c:choose>
					<tr >
						<td align="center">
							<input type="radio" class="radiobutton" name="selMileStones7" >
						</td>
						<td align="center">
							<span   name="milestones/milestone7[${flag}${index}]@seq_no" ><x:out select="$milestone7/@seq_no"/></span> 
						</td>
						<td align="center">
							<input value="<x:out select="$milestone7/content1"/>" label="国家" name="milestones/milestone7[${flag}${index}]/content1" maxlength="100" class=" required"  style="width:80%"  /> 
						</td>
						<td align="center">
							<input value="<x:out select="$milestone7/content2"/>" label="获奖名称及颁发机构" name="milestones/milestone7[${flag}${index}]/content2" maxlength="100" class=" required"  style="width:80%"  /> 
						</td>
						
						<td align="center">
							<input value="<x:out select="$milestone7/content3"/>" label="获奖项目名称" name="milestones/milestone7[${flag}${index}]/content3" maxlength="100" class=" required"  style="width:80%"  /> 
						</td>
						<td align="center">
							<input value="<x:out select="$milestone7/content4"/>" label="奖励等级" name="milestones/milestone7[${flag}${index}]/content4" maxlength="100" class=" required"  style="width:80%"  /> 
						</td>
						<td align="center">
							<c:set var="awards_date" scope="page"><x:out select="$milestone7/awards_date" /></c:set>
							<input  id="milestone7_awards_date_[${flag}${index}]" value="${awards_date}" label="获奖时间"  name="milestones/milestone7[${flag}${index}]/awards_date"  class="date input_text required" style="width:70%"/> 
						</td>
						<td align="center">
							<input value="<x:out select="$milestone7/content6"/>" label="本人名次" name="milestones/milestone7[${flag}${index}]/content6" onfocus="InitInput.setNumber(this,7,0,0)" class=" required"  style="width:80%;text-align:right;"  /> 
						</td>
					</tr>
					
					
					
					
					<c:set value="${index+1}" var="index" scope="page"/>
					</x:forEach>
					<script type="text/javascript">
						showAllDateTag("tblMileStones7");
					</script>
				</tbody>
					</table>
					<br/>

					<table width="98%" align="center">
					<tr ><td>
					<input class="button" name="cmdAddbefore" type=button value="添加" onclick="if(checkTabLimit('tblMileStones7',99,'${param.title }最多只能填写99条')){addNewRow('tblMileStones7');showDateTag('tblMileStones7');}try{top.resizeFrame();}catch(e){};">
					<!--
					<input class="button" name="cmdAddbefore" type=button value="添加" onclick="if(checkTabLimit('tblMileStones',5,'项目进度信息最多只能填写5条')){addNewRow('tblMileStones');}showDateTag('tblMileStones');try{top.resizeFrame();}catch(e){};">
                    -->
					<input class="button" name="cmdMovePrev" type=button value="上移" onclick="movePrev('tblMileStones7','selMileStones7')">
					<input class="button" name="cmdMoveNext" type=button value="下移" onclick="moveNext('tblMileStones7','selMileStones7')">
					<input class="button" name="cmddel" type=button  value="删除" onclick="deleteSelectedRow('tblMileStones7','${param.title }')">
					</td></tr>
	</table>
	<br/>
<script type="text/javascript">
$(function() {
	$("#tblMileStones7 tr:even").addClass("li_1");
	$("#tblMileStones7 tr:odd").addClass("li_2");
});
</script>